﻿#ifndef VOICETALK_H
#define VOICETALK_H

#include <QObject>

class VoiceTalk : public QObject {
    Q_OBJECT
public:
    explicit VoiceTalk(QObject* parent = nullptr);

    void setState(bool state);
    void onGetVoiceInput();
    void onGetVoiceOutput();
    void setVoice(QByteArray voice);

private:
    bool m_state;
    QByteArray m_voice;

signals:
    void sigVoiceTalkIn(QByteArray voice);
};

#endif    // VOICETALK_H
